<template>
  <div class="Login05Box">
    <div class="Login_Left">
      <div class="LoginBox">
        <div class="logo">
          <div class="left_Logo"></div>
          <div class="right_Title">欢迎登录</div>
        </div>
        <!-- form表单 -->
        <div class="formBox">
          <el-form
            :model="ruleForm"
            status-icon
            :rules="rules"
            ref="ruleForm"
            label-width="100px"
            class="demo-ruleForm"
          >
            <div style="margin-bottom: 5px">用户名</div>
            <el-form-item prop="pass" style="width: 492px; margin-left: -100px">
              <el-input
                type="text"
                v-model="ruleForm.pass"
                autocomplete="off"
                placeholder="请输入用户名"
              ></el-input>
            </el-form-item>
            <div style="margin-bottom: 5px">密码</div>
            <el-form-item
              prop="checkPass"
              style="width: 492px; margin-left: -100px"
            >
              <el-input
                type="password"
                v-model="ruleForm.checkPass"
                autocomplete="off"
                placeholder="请输入密码"
              ></el-input>
            </el-form-item>
            <el-form-item>
              <el-button
                type="primary"
                @click="submitForm('ruleForm')"
                style="width: 392px; margin-left: -100px"
                >登录</el-button
              >
            </el-form-item>
          </el-form>
        </div>
      </div>
    </div>
    <div class="Login_Right"></div>
  </div>
</template>
<script>
export default {
  name: "HomeView",
  data() {
    return {
      ruleForm: {
        username: "",
        password: "",
      },
      rules: {},
    };
  },
  mounted() {},
  methods: {},
};
</script>
<style lang='scss' scoped>
* {
  margin: 0;
  padding: 0;
  list-style: none;
}
.Login05Box {
  width: 100vw;
  height: 100vh;
  display: flex;
  .Login_Left {
    width: 1000px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    .LoginBox {
      width: 392px;
      height: 428px;
      .logo {
        width: 392px;
        height: 138px;
        display: flex;
        .left_Logo {
          width: 148px;
          height: 138px;
          background: #d8d8d8;
        }
        .right_Title {
          width: 192px;
          height: 67px;
          font-size: 40px;
          font-weight: bold;
          margin-top: 40px;
          margin-left: 20px;
        }
      }
    }
    .formBox {
      width: 392px;
      height: 280px;
      margin-top: 30px;
    }
  }
  .Login_Right {
    width: 831px;
    height: 100%;
    background: url("../assets/BackgroundImg/Login05.png") no-repeat 0 0/100%
      100%;
  }
}
</style>